package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.Function;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface FunctionMapper {
    //查找职位可以授权的权限
    public List<Function> allFuns(Integer jobId);
    //查找职位已有的权限
    public List<Integer> jobFuns(Integer jobId);

    public List<Function> funs(Integer funTypeId);

    public List<Function> funVague(String content);
}
